package com.dream.banana.redis.pack.ipackitem;

import java.util.List;

/**
 * 躲了一辈子雨，雨会不会很难过。
 * </p>
 * Created by zhumenglong on 2017/5/28.
 */
public interface IRedisSetPack {
    long sadd(String arg0, String... arg1);

    long sadd(byte[] arg0, byte[]... arg1);

    long scard(String arg0);

    long scard(byte[] arg0);

    List<String> smembers(String arg0);

    List<byte[]> smembers(byte[] arg0);

    boolean sismember(String arg0, String arg1);

    boolean sismember(byte[] arg0, byte[] arg1);

    long srem(String arg0, String... arg1);

    long srem(byte[] arg0, byte[]... arg1);
}